using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Cryptography.X509Certificates;

namespace PlainConcepts.Fx.Dnie.DigitalSign
{
	public interface IDigitalSigner
	{
		/// <summary>
		/// Sign the document with X509Certiface2
		/// </summary>
		/// <param name="pathDocument">Path to unsigned document</param>
		/// <param name="certificate">Certificate used to sign the document</param>
		/// <param name="pathSignedDocument">Path to signed document</param>
		void Sign(X509Certificate2 certificate, string pathDocument,string pathSignedDocument);

		/// <summary>
		/// Get the extension document for this plugin
		/// </summary>
		string Extension
		{
			get;
		}
	}
}
